home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
026-050
/
scopedisk33
/
dmouse11
/
makefile
< prev
Wrap
Makefile
|
1995-03-18
|
782b
|
45 lines
# Makefile for DMouse
#
# +L = 32 bit ints
SYMS= include:symbols.m
SYMC= include:local/makesymbols.c
CFLAGS= +L +I$(SYMS)
SR1 = dmouse.c
SR2 = dmouse-handler.c
OB1 = ram:dmouse.o
OB2 = ram:dmouse-handler.o
EX1 = c:dmouse
EX2 = l:dmouse-handler
all: $(SYMS) $(EX1) $(EX2)
arc:
copy dmouse-handler.c ram:dmouse-h.c
copy l:dmouse-handler ram:dmouse-h
-delete ram:dm.arc
arc a ram:dm ram:dmouse-h.c ram:dmouse-h dmouse.doc dmouse.c c:dmouse execute.me
delete ram:dmouse-h.c ram:dmouse-h
$(EX1) : $(OB1)
ln +Q $(OB1) -lc32 -o $(EX1)
$(EX2) : $(OB2)
ln +Q $(OB2) -lc32 -ldres -o $(EX2)
$(OB1) : $(SR1)
cc $(CFLAGS) $(SR1) -o $(OB1)
$(OB2) : $(SR2)
cc $(CFLAGS) $(SR2) -o $(OB2)
$(SYMS): $(SYMC)
make -f include:local/Makefile